<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title>九九乘法表</title>
    </head>
    <body>
        <?php
        // put your code here
       $m=9;
       $n=9;
       echo "<table border='1'>";
       for($i=1;$i<=$m;$i++)
        {
           echo "<tr>";
           for($j=1;$j<=$i;$j++)
        //for($j=1;$j<=$n;$j++)
           { 
        //if($j<=$i)
        //{
               echo "<td>{$i}*{$j}=".$i*$j;
               echo "</td>";
        //}
        // else 
        // { 
        // echo "<td>&nbsp;</td>";
        // }
           }
           echo "</tr>";
        }
         echo "</table>";
        ?>
    </body>
</html>
